Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.IO.OpenXml Namespace / IOpenXml<T> Interface / Import Method
A System.Xml.XmlReader object indicates the Xml reader.
An ImportContext object indicates the import context.


In This Topic
    Import Method (IOpenXml<T>)
    In This Topic
    Imports data of T from the specified reader.
    Syntax
    'Declaration
     
    
    Function Import( _
       ByVal reader As XmlReader, _
       ByVal context As ImportContext _
    ) As T
    'Usage
     
    
    Dim instance As IOpenXml(Of T)
    Dim reader As XmlReader
    Dim context As ImportContext
    Dim value As T
     
    value = instance.Import(reader, context)

    Parameters

    reader
    A System.Xml.XmlReader object indicates the Xml reader.
    context
    An ImportContext object indicates the import context.

    Return Value

    A T object represents the imported object.
    See Also